/*
 * explosion.h
 *
 *  Created on: 6 mai 2011
 *      Author: benjamin
 */

#ifndef EXPLOSION_H_
#define EXPLOSION_H_

#include "constante.h"
#include "joueur.h"

typedef struct donnees_explosion {
	int* pos_x ;
	int* pos_y ;
	BITMAP* image_explosion ;

}explosion;

explosion allouer_explosion(explosion e) ;
void liberer_explosion (explosion e) ;
explosion init_explosion(int position_x) ;
void init_all_explosion(int tab[NB_EXPLOSION], explosion tab1[NB_EXPLOSION]) ;
void afficher_all_explosion(BITMAP* buffer,explosion tab[NB_EXPLOSION]) ;
void deplacer_explosion(explosion e) ;
//void deplacer_explosions(joueur j , int marge, explosion tab[NB_EXPLOSION]) ;



#endif /* EXPLOSION_H_ */
